/*
 * Copyright 2019 ThoughtWorks, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * Titles.css
 */


/**
 * TABLE OF CONTENTS
 *
 * =ENTITY_TITLES
 * =! MISC NEEDS MIGRATION
 */


/**
 * =ENTITY_TITLES
**/
h2.entity_title {
    background-repeat: no-repeat;
    border-bottom: 1px dotted #ccc;
    color: #3f2559;
    font-weight: 300;
    margin-bottom: 10px;
    padding: 0 0 10px 0;
}
.pipelines h2.entity_title{
    font-size: 20px;
}

.pipeline_group h2.entity_title {
    background-position: -12px -10px;
    line-height: 30px;
    padding-left: 35px;
}

.environment h2.entity_title {
    background-position: -12px -10px;
    line-height: 30px;
}

.pipeline_group h2.entity_title {
  background-image: image_url('g9/icons/icon_pipelinegroup_24.png');
}
.template_group h2.entity_title {
  background-image: image_url('g9/icons/icon_pipeline_template_24.png');
  background-position: -12px -10px;
  padding-left: 35px;
}
h3.entity_title {
  background-repeat: no-repeat;
  padding: 5px 0 10px 30px;
  margin: 0;
}
.pipeline_header h3.entity_title {
  background-image: image_url('g9/icons/icon_pipeline_24.png');
  background-position: -12px -10px;
}

.pipeline_header .toggle-new-view, .agents-toggle-new-view {
  display: inline-block;
  margin-left: 10px;
  background: #86569a;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  &:hover {
    color:      #fff;
  }
}

/**
 * =! MISC NEEDS MIGRATION
**/
h2.legend {
    margin-bottom: 5px;
}

h2.inline {
    display: inline;
    padding-bottom: 5px;
}

/* if there are new materials */
.pipeline_bundle .pipeline_header h3.has_new_materials {
    background-image: image_url('g9/icons/icon_pipeline_24_info.png');
    background-position: -12px -12px;
}
